package com.ebook.core.domain;

public class Book {
	private int id;
	private String name;
	private String isbn;
	private String[] authors; 
	private String[] translators;
	private String press;
	private String pressDate;
	private String version;
	private double fixedPrice;
	private double curPrice;
	private String pic;
	private int status;

	public Book() {
		
	}
	
	public Book(int id, String name, String isbn, String[] authors, String[] translators, String press, String pressDate,
				String version, double fixedPrice, double curPrice, String pic, int status) {
		this.id = id;
		this.name = name;
		this.isbn = isbn;
		this.authors = authors;
		this.translators = translators;
		this.press = press;
		this.pressDate = pressDate;
		this.version = version;
		this.pic = pic;
		this.fixedPrice = fixedPrice;
		this.curPrice = curPrice;
		this.status = status;
	}

	public int getId() {
		return id;
	}
	
	public void setId(int id) {
		this.id = id;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}

	public double getCurPrice() {
		return curPrice;
	}

	public void setCurPrice(double price) {
		this.curPrice = price;
	}
	
	public double getFixedPrice() {
		return fixedPrice;
	}

	public void setFixedPrice(double price) {
		this.fixedPrice = price;
	}

	public void setIsbn(String isbn) {
		this.isbn = isbn;
	}
	
	public String getIsbn() {
		return isbn;
	}

	public String getPress() {
		return press;
	}

	public void setPress(String press) {
		this.press = press;
	}

	public String getPressDate() {
		return pressDate;
	}

	public void setPressDate(String pressDate) {
		this.pressDate = pressDate;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getPic() {
		return pic;
	}

	public void setPic(String pic) {
		this.pic = pic;
	}

	public String[] getAuthors() {
		return authors;
	}

	public void setAuthors(String[] authors) {
		this.authors = authors;
	}

	public String[] getTranslators() {
		return translators;
	}

	public void setTranslators(String[] translators) {
		this.translators = translators;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}
}
